﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TheAPI.Data
{
    public class ChampionList
    {
        public int Count { get { return Champions.Count; } private set { } }

        public Champion this[int i] { get { return Champions[i]; } private set { Champions[i] = value; } }

        /// <summary>
        /// List of champions
        /// </summary>
        [JsonProperty("champions")]
        public List<Champion> Champions { get; set; }
    }
}
